#!/bin/bash

# postinst script for system-test-zfstest
#
# see: dh_installdeb(1)

#set -e

# summary of how this script can be called:
#        * <postinst> \`configure' <most-recently-configured-version>
#        * <old-postinst> \`abort-upgrade' <new version>
#        * <conflictor's-postinst> \`abort-remove' \`in-favour' <package>
#          <new-version>
#        * <postinst> \`abort-remove'
#        * <deconfigured's-postinst> \`abort-deconfigure' \`in-favour'
#          <failed-install-package> <version> \`removing'
#          <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package

PATH=/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
export PATH

if [ "${BASEDIR:=/}" = "/" ]; then
    BASEDIR=""
else
    BASEDIR_OPT="-b $BASEDIR"
fi

case "$1" in
    configure)
        chown root:bin $BASEDIR/opt
	chown root:bin $BASEDIR/opt/zfs-tests
	chown root:bin $BASEDIR/opt/zfs-tests/bin
	chown root:bin $BASEDIR/opt/zfs-tests/callbacks
	chown root:bin $BASEDIR/opt/zfs-tests/include
	chown root:bin $BASEDIR/opt/zfs-tests/runfiles
	chown root:bin $BASEDIR/opt/zfs-tests/tests
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/aaatp
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/acl
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/acl/cifs
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/acl/trivial
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/alloc_class
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/append
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/atime
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/bootfs
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/btree
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cache
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cachefile
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/casenorm
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/channel_program
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/checksum
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/clean_mirror
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_bookmark
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_ids_to_path
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_inherit
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_program
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_property
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_reservation
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unload-key
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_wait
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_attach
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_destroy
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_detach
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_history
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_labelclear
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_offline
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_online
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_remove
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_replace
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_resilver
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_sync
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_user
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_list
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_status
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/compression
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/cp_files
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/crtime
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/ctime
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/deadman
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/delegate
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/devices
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/exec
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/fault
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/features
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/features/async_destroy
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/grow_pool
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/grow_replicas
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/history
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/holes
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/inheritance
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/inuse
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/l2arc
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/large_files
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/largest_pool
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/libzfs
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/limits
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/link_count
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/log_spacemap
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/mdb
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/migration
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/mmap
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/mmp
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/mount
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/mv_files
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/nestedfs
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/no_space
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/nopwrite
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/online_offline
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/order_zfs_mount_a
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/pool_names
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/poolversion
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/privilege
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/projectquota
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/quota
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/raidz
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/redacted_send
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/redundancy
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/refquota
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/refreserv
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/removal
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/rename_dirs
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/replacement
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/reservation
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/rootpool
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/rsend
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/slog
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/snapshot
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/snapused
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/sparse
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/suid
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/trim
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/truncate
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/upgrade
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/userquota
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/utils_test
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/write_dirs
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/xattr
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/zvol
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_ENOSPC
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_cli
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_dump
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap
	chown root:bin $BASEDIR/opt/zfs-tests/tests/functional/zzztp
	chown root:bin $BASEDIR/opt/zfs-tests/tests/longevity
	chown root:bin $BASEDIR/opt/zfs-tests/tests/perf
	chown root:bin $BASEDIR/opt/zfs-tests/tests/perf/fio
	chown root:bin $BASEDIR/opt/zfs-tests/tests/perf/regression
	chown root:bin $BASEDIR/opt/zfs-tests/tests/perf/scripts
	chown root:bin $BASEDIR/opt/zfs-tests/tests/stress
	chown root:bin $BASEDIR/opt/zfs-tests/tests/stress/races
	chmod 0444 "$BASEDIR/opt/zfs-tests/README"
	chown root:bin "$BASEDIR/opt/zfs-tests/README"
	chmod 0444 "$BASEDIR/opt/zfs-tests/callbacks/zfs_dbgmsg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/callbacks/zfs_dbgmsg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/callbacks/zfs_failsafe.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/callbacks/zfs_failsafe.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/callbacks/zfs_mmp.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/callbacks/zfs_mmp.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/include/blkdev.shlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/include/blkdev.shlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/include/commands.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/include/commands.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/include/default.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/include/default.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/include/libtest.shlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/include/libtest.shlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/include/math.shlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/include/math.shlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/include/properties.shlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/include/properties.shlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/include/tunables.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/include/tunables.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/include/zpool_script.shlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/include/zpool_script.shlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/runfiles/common.run"
	chown root:bin "$BASEDIR/opt/zfs-tests/runfiles/common.run"
	chmod 0444 "$BASEDIR/opt/zfs-tests/runfiles/default.run"
	chown root:bin "$BASEDIR/opt/zfs-tests/runfiles/default.run"
	chmod 0444 "$BASEDIR/opt/zfs-tests/runfiles/dilos.run"
	chown root:bin "$BASEDIR/opt/zfs-tests/runfiles/dilos.run"
	chmod 0444 "$BASEDIR/opt/zfs-tests/runfiles/longevity.run"
	chown root:bin "$BASEDIR/opt/zfs-tests/runfiles/longevity.run"
	chmod 0444 "$BASEDIR/opt/zfs-tests/runfiles/perf-regression.run"
	chown root:bin "$BASEDIR/opt/zfs-tests/runfiles/perf-regression.run"
	chmod 0444 "$BASEDIR/opt/zfs-tests/runfiles/sanity.run"
	chown root:bin "$BASEDIR/opt/zfs-tests/runfiles/sanity.run"
	chmod 0444 "$BASEDIR/opt/zfs-tests/runfiles/stress.run"
	chown root:bin "$BASEDIR/opt/zfs-tests/runfiles/stress.run"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/aaatp/save_tp.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/aaatp/save_tp.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/aaatp/tunable_parameters.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/aaatp/tunable_parameters.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/acl.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/acl.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/acl_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/acl_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/cifs/cifs.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/cifs/cifs.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/cifs/cifs_attr_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/cifs/cifs_attr_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/cifs/cifs_attr_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/cifs/cifs_attr_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/cifs/cifs_attr_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/cifs/cifs_attr_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/cifs/cifs_attr_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/cifs/cifs_attr_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/cifs/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/cifs/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/cifs/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/cifs/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_aclmode_restricted_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_aclmode_restricted_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_aclmode_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_aclmode_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_compact_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_compact_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_delete_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_delete_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_inherit_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_inherit_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_inherit_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_inherit_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_inherit_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_inherit_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_inherit_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_inherit_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_inherit_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_inherit_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_owner_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_owner_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_rwacl_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_rwacl_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_rwx_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_rwx_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_rwx_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_rwx_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_rwx_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_rwx_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_rwx_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_rwx_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_xattr_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_xattr_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_xattr_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_xattr_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_cp_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_cp_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_cp_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_cp_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_cpio_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_cpio_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_cpio_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_cpio_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_find_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_find_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_ls_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_ls_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_mv_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_mv_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_tar_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_tar_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_tar_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_tar_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_aclmode_restricted_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_aclmode_restricted_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_chmod_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_chmod_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_compress_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_compress_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_cp_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_cp_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_cp_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_cp_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_cp_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_cp_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_find_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_find_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_find_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_find_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_ls_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_ls_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_ls_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_ls_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_mv_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_mv_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_pack_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_pack_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_pax_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_pax_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_pax_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_pax_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_pax_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_pax_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_pax_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_pax_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_pax_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_pax_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_pax_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_pax_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_tar_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_tar_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_tar_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/acl/trivial/zfs_acl_tar_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_010_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_010_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_011_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_011_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_012_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_012_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_013_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/alloc_class_013_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/alloc_class/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/append/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/append/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/append/file_append.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/append/file_append.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/append/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/append/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/append/threadsappend_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/append/threadsappend_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/atime/atime.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/atime/atime.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/atime/atime_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/atime/atime_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/atime/atime_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/atime/atime_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/atime/atime_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/atime/atime_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/atime/atime_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/atime/atime_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/atime/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/atime/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/atime/root_atime_off.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/atime/root_atime_off.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/atime/root_atime_on.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/atime/root_atime_on.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/atime/root_relatime_on.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/atime/root_relatime_on.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/atime/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/atime/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_004_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_004_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_005_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_005_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/bootfs_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/bootfs/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/btree/btree_negative.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/btree/btree_negative.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/btree/btree_positive.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/btree/btree_positive.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_004_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_004_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_005_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_005_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_008_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_008_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_010_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_010_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_011_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_011_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_012_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cache_012_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cache/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cache/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/cachefile.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/cachefile.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/cachefile.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/cachefile.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/cachefile_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/cachefile_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/cachefile_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/cachefile_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/cachefile_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/cachefile_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/cachefile_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/cachefile_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cachefile/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/case_all_values.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/case_all_values.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/casenorm.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/casenorm.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/casenorm.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/casenorm.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/insensitive_formd_delete.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/insensitive_formd_delete.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/insensitive_formd_lookup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/insensitive_formd_lookup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/insensitive_none_delete.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/insensitive_none_delete.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/insensitive_none_lookup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/insensitive_none_lookup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/mixed_create_failure.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/mixed_create_failure.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/mixed_formd_delete.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/mixed_formd_delete.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/mixed_formd_lookup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/mixed_formd_lookup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/mixed_formd_lookup_ci.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/mixed_formd_lookup_ci.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/mixed_none_delete.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/mixed_none_delete.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/mixed_none_lookup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/mixed_none_lookup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/mixed_none_lookup_ci.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/mixed_none_lookup_ci.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/norm_all_values.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/norm_all_values.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/sensitive_formd_delete.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/sensitive_formd_delete.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/sensitive_formd_lookup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/sensitive_formd_lookup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/sensitive_none_delete.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/sensitive_none_delete.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/sensitive_none_lookup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/sensitive_none_lookup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/casenorm/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.out"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.out"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.args_to_lua.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.err"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.err"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.divide_by_zero.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.exists.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_illegal.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_illegal.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_overflow.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.integer_overflow.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.language_functions_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.language_functions_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.language_functions_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.language_functions_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.out"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.out"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.large_prog.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_base.lua"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_base.lua"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_coroutine.lua"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_coroutine.lua"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_strings.lua"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_strings.lua"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_table.lua"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.lib_table.lua"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.libraries.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.libraries.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.memory_limit.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.memory_limit.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_neg.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.nested_pos.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.nvlist_to_lua.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.nvlist_to_lua.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.recursive_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.return_large.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.return_nvlist_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.return_nvlist_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.return_nvlist_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.return_nvlist_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.return_recursive_table.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.err"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.err"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.stack_gsub.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/lua_core/tst.timeout.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.copy.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.copy.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.copy.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.copy.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.create.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.create.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.create.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.bookmark.create.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.destroy_fs.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.destroy_fs.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.destroy_snap.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.destroy_snap.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_count_and_limit.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_count_and_limit.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.out"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.out"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_index_props.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_mountpoint.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_mountpoint.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.out"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.out"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_number_props.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.out"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.out"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_string_props.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_type.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_type.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_userquota.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_userquota.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_written.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.get_written.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.inherit.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.inherit.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_bookmarks.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_bookmarks.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_children.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_children.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_clones.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_clones.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_holds.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_holds.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_snapshots.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_snapshots.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_system_props.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_system_props.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_user_props.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.list_user_props.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.parse_args_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.parse_args_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_conflict.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_multiple.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_multiple.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_simple.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.promote_simple.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.rollback_mult.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.rollback_mult.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.rollback_one.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.rollback_one.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.set_props.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.set_props.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.set_props.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.set_props.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_destroy.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_neg.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_neg.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_recursive.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_rename.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_rename.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_rename.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_rename.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.zcp"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.snapshot_simple.zcp"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.terminate_by_signal.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/synctask_core/tst.terminate_by_signal.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/checksum/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/checksum/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/checksum/default.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/checksum/default.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/checksum/filetest_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/checksum/filetest_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/checksum/run_blake3_test.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/checksum/run_blake3_test.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/checksum/run_edonr_test.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/checksum/run_edonr_test.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/checksum/run_sha2_test.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/checksum/run_sha2_test.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/checksum/run_skein_test.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/checksum/run_skein_test.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/checksum/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/checksum/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/clean_mirror_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/clean_mirror_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/clean_mirror_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/clean_mirror_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/clean_mirror_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/clean_mirror_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/clean_mirror_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/clean_mirror_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/clean_mirror_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/clean_mirror_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/default.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/default.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/clean_mirror/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/cli_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/cli_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_args_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_args_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_args_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_args_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_block_size_histogram.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_block_size_histogram.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_checksum.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_checksum.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress_zstd.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_decompress_zstd.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_display_block.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_display_block.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_label_checksum.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_label_checksum.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_object_range_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_object_range_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_object_range_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_object_range_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_objset_id.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_objset_id.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_recover.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_recover.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_recover_2.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zdb/zdb_recover_2.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs/zfs_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs/zfs_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs/zfs_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs/zfs_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs/zfs_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs/zfs_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_bookmark/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_bookmark/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_bookmark/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_bookmark/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_bookmark/zfs_bookmark_cliargs.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_bookmark/zfs_bookmark_cliargs.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_child.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_child.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_clones.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_clones.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_format.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_format.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_inherit.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_inherit.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_load.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_load.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_location.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_location.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_pbkdf2iters.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_change-key/zfs_change-key_pbkdf2iters.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_008_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_008_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_009_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_009_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_010_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_010_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_deeply_nested.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_deeply_nested.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_encrypted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_encrypted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_rm_nested.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_rm_nested.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_004_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_004_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_005_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_005_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/properties.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/properties.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_008_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_008_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_009_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_009_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_010_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_010_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_011_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_011_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_012_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_012_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_013_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_013_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_014_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_014_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_crypt_combos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_crypt_combos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_dryrun.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_dryrun.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_encrypted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_encrypted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_nomount.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_nomount.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_verbose.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_create/zfs_create_verbose.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_and_disable.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_and_disable.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_races.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_condense_races.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_dedup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_clone_livelist_dedup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_005_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_005_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_006_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_006_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_010_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_010_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_011_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_011_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_012_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_012_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_013_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_013_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_014_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_014_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_015_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_015_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_016_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_016_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_clone_livelist.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_clone_livelist.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal_condense.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_destroy/zfs_destroy_dev_removal_condense.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_changes.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_changes.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_cliargs.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_cliargs.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_encrypted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_encrypted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_mangle.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_mangle.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_timestamp.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_timestamp.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_types.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_diff/zfs_diff_types.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_005_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_005_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_006_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_006_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_010_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_010_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_list_d.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_get/zfs_get_list_d.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/zfs_ids_to_path_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/zfs_ids_to_path_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_inherit/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_inherit/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_inherit/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_inherit/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_mountpoint.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_mountpoint.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/HEXKEY.txt"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/HEXKEY.txt"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/PASSPHRASE.txt"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/PASSPHRASE.txt"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/RAWKEY.txt"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/RAWKEY.txt"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_all.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_all.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_file.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_file.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_https.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_https.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_location.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_location.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_noop.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_noop.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_recursive.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_load-key/zfs_load-key_recursive.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_009_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_009_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_010_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_010_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_011_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_011_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_012_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_012_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_fail.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_fail.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_mountpoints.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_all_mountpoints.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_encrypted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_encrypted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_test_race.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_test_race.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_program/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_program/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_program/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_program/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_program/zfs_program_json.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_program/zfs_program_json.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_006_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_006_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_encryptionroot.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_promote/zfs_promote_encryptionroot.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_property/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_property/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_property/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_property/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_property/zfs_written_property_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_property/zfs_written_property_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_aliases.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_aliases.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_override.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/receive-o-x_props_override.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_-e.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_-e.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_-wR-encrypted-mix.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_-wR-encrypted-mix.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_004_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_004_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_005_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_005_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_009_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_009_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_010_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_010_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_011_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_011_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_012_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_012_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_013_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_013_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_014_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_014_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_015_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_015_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_016_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_016_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_encrypted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_encrypted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_zstd.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_from_zstd.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_new_props.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_new_props.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw_-d.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw_-d.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw_incremental.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_raw_incremental.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_to_encrypted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_to_encrypted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zstd_test_data.txt"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_receive/zstd_test_data.txt"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_004_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_004_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_005_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_005_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_009_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_009_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_010_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_010_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_011_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_011_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_012_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_012_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_013_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_013_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_014_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_014_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_encrypted_child.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_encrypted_child.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_mountpoint.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_mountpoint.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_nounmount.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_nounmount.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_to_encrypted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rename/zfs_rename_to_encrypted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_reservation/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_reservation/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_reservation/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_reservation/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_reservation/zfs_reservation_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_reservation/zfs_reservation_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_reservation/zfs_reservation_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_reservation/zfs_reservation_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_004_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_004_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_rollback/zfs_rollback_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send-b.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send-b.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_004_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_004_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_encrypted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_encrypted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_encrypted_unloaded.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_encrypted_unloaded.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_raw.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_raw.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_skip_missing.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_skip_missing.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_sparse.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_send/zfs_send_sparse.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/cache_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/cache_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/cache_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/cache_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/canmount_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/canmount_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/canmount_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/canmount_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/canmount_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/canmount_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/canmount_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/canmount_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/checksum_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/checksum_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/compression_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/compression_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/mountpoint_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/onoffs_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/onoffs_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/property_alias_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/property_alias_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/readonly_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/readonly_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/reservation_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/reservation_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/ro_props_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/ro_props_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/share_mount_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/share_mount_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/snapdir_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/snapdir_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/user_property_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/user_property_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/user_property_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/user_property_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/user_property_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/user_property_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/user_property_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/user_property_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/version_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/version_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_feature_activation.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_feature_activation.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_keylocation.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_set/zfs_set_keylocation.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_008_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_008_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_009_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_009_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_010_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_010_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_011_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_011_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_012_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_share/zfs_share_012_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_004_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_004_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_005_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_005_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_008_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_008_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_snapshot/zfs_snapshot_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unload-key/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unload-key/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unload-key/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unload-key/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key_all.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key_all.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key_recursive.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unload-key/zfs_unload-key_recursive.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_008_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_008_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_all_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_all_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_nested.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_nested.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_unload_keys.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unmount/zfs_unmount_unload_keys.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_004_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_004_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_005_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_unshare/zfs_unshare_005_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_006_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_006_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_upgrade/zfs_upgrade_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_wait/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_wait/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_wait/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_wait/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_wait/zfs_wait.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_wait/zfs_wait.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_wait/zfs_wait_deleteq.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zfs_wait/zfs_wait_deleteq.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool/zpool_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool/zpool_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool/zpool_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool/zpool_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool/zpool_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool/zpool_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool/zpool_colors.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool/zpool_colors.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/add-o_ashift.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/add-o_ashift.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/add_nested_replacing_spare.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/add_nested_replacing_spare.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/add_prop_ashift.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/add_prop_ashift.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_008_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_008_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_009_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_009_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_010_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_010_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_dryrun_output.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_dryrun_output.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_attach/attach-o_ashift.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_attach/attach-o_ashift.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_attach/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_attach/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_attach/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_attach/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_attach/zpool_attach_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_attach/zpool_attach_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_readonly.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_clear/zpool_clear_readonly.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/create-o_ashift.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/create-o_ashift.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/draidcfg.gz"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/draidcfg.gz"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create.shlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create.shlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_009_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_009_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_010_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_010_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_011_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_011_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_012_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_012_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_014_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_014_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_015_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_015_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_016_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_016_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_017_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_017_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_018_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_018_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_019_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_019_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_020_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_020_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_021_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_021_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_022_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_022_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_023_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_023_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_024_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_024_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_crypt_combos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_crypt_combos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_draid_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_dryrun_output.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_dryrun_output.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_encrypted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_encrypted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_004_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_004_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_features_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_tempname.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_tempname.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_destroy/zpool_destroy_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_detach/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_detach/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_detach/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_detach/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_detach/zpool_detach_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_detach/zpool_detach_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_clear.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_clear.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_clear_retained.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_clear_retained.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_cliargs.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_cliargs.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_duplicates.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_duplicates.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_errors.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_errors.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_follow.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_follow.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_poolname.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events_poolname.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_export/zpool_export_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_004_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_004_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_parsable.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get_parsable.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_history/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_history/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_history/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_history/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_history/zpool_history_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_history/zpool_history_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_history/zpool_history_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_history/zpool_history_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/cryptv0.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/cryptv0.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/missing_ivset.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/missing_ivset.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/unclean_export.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/unclean_export.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_added.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_added.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_removed.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_removed.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_replaced.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_device_replaced.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_mirror_attached.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_mirror_attached.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_mirror_detached.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_mirror_detached.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_paths_changed.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_paths_changed.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_shared_device.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_cachefile_shared_device.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_devices_missing.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_devices_missing.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_paths_changed.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_paths_changed.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_rewind_config_changed.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_rewind_config_changed.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_rewind_device_replaced.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/import_rewind_device_replaced.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_009_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_009_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_010_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_010_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_011_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_011_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_012_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_012_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_013_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_013_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_014_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_014_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_016_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_016_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_017_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_017_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_all_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_all_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_encrypted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_encrypted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_encrypted_load.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_encrypted_load.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_errata3.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_errata3.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_errata4.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_errata4.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_features_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_missing_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_rename_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_import/zpool_import_rename_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_attach_detach_add_remove.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_attach_detach_add_remove.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_fault_export_import_online.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_fault_export_import_online.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_import_export.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_import_export.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_offline_export_import_online.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_offline_export_import_online.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_online_offline.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_online_offline.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_split.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_split.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_start_and_cancel_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_start_and_cancel_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_start_and_cancel_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_start_and_cancel_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_suspend_resume.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_suspend_resume.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_unsupported_vdevs.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_unsupported_vdevs.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_verify_checksums.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_verify_checksums.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_verify_initialized.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_initialize/zpool_initialize_verify_initialized.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_labelclear/labelclear.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_labelclear/labelclear.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_active.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_active.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_exported.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_exported.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_removed.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_removed.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_valid.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_labelclear/zpool_labelclear_valid.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_offline/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_offline/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_offline/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_offline/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_offline/zpool_offline_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_online/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_online/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_online/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_online/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_online/zpool_online_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_online/zpool_online_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_online/zpool_online_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_online/zpool_online_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_remove/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_remove/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_remove/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_remove/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_remove/zpool_remove_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_006_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_006_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_replace/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_replace/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_replace/replace-o_ashift.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_replace/replace-o_ashift.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_replace/replace_prop_ashift.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_replace/replace_prop_ashift.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_replace/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_replace/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_replace/zpool_replace_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_replace/zpool_replace_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_resilver/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_resilver/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_resilver/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_resilver/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_bad_args.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_bad_args.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_restart.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_restart.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_encrypted_unloaded.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_encrypted_unloaded.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_multiple_copies.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_multiple_copies.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_offline_device.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_offline_device.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_print_repairing.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_scrub/zpool_scrub_print_repairing.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_ashift.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_ashift.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_features.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_set/zpool_set_features.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_cliargs.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_cliargs.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_devices.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_devices.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_dryrun_output.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_dryrun_output.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_encryption.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_encryption.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_indirect.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_indirect.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_props.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_props.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_resilver.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_resilver.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_vdevs.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_vdevs.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_wholedisk.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_split/zpool_split_wholedisk.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_features_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_status/zpool_status_features_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_sync/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_sync/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_sync/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_sync/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_sync/zpool_sync_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_sync/zpool_sync_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_sync/zpool_sync_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_sync/zpool_sync_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_attach_detach_add_remove.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_attach_detach_add_remove.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_fault_export_import_online.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_fault_export_import_online.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_import_export.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_import_export.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_multiple.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_multiple.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_offline_export_import_online.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_offline_export_import_online.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_online_offline.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_online_offline.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_partial.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_partial.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_rate.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_rate.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_rate_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_rate_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_secure.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_secure.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_split.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_split.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_start_and_cancel_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_start_and_cancel_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_start_and_cancel_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_start_and_cancel_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_suspend_resume.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_suspend_resume.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_unsupported_vdevs.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_unsupported_vdevs.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_verify_checksums.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_verify_checksums.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_verify_trimmed.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_trim/zpool_trim_verify_trimmed.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-broken-mirror1.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-broken-mirror1.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-broken-mirror2.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-broken-mirror2.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v10.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v10.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v11.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v11.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v12.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v12.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v13.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v13.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v14.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v14.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v15.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v15.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1mirror1.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1mirror1.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1mirror2.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1mirror2.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1mirror3.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1mirror3.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1raidz1.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1raidz1.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1raidz2.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1raidz2.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1raidz3.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1raidz3.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1stripe1.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1stripe1.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1stripe2.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1stripe2.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1stripe3.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v1stripe3.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2mirror1.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2mirror1.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2mirror2.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2mirror2.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2mirror3.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2mirror3.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2raidz1.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2raidz1.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2raidz2.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2raidz2.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2raidz3.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2raidz3.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2stripe1.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2stripe1.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2stripe2.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2stripe2.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2stripe3.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v2stripe3.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3hotspare1.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3hotspare1.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3hotspare2.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3hotspare2.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3hotspare3.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3hotspare3.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3mirror1.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3mirror1.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3mirror2.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3mirror2.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3mirror3.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3mirror3.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz1.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz1.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz2.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz2.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz21.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz21.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz22.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz22.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz23.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz23.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz3.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3raidz3.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3stripe1.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3stripe1.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3stripe2.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3stripe2.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3stripe3.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v3stripe3.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v4.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v4.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v5.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v5.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v6.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v6.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v7.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v7.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v8.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v8.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v9.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v9.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v999.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-v999.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-vBROKEN.dat.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/zfs-pool-vBROKEN.dat.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_005_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_005_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_006_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_006_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_009_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_009_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_features_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_upgrade/zpool_upgrade_features_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_rebuild.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_rebuild.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_replace.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_replace.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_replace_cancel.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_replace_cancel.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_resilver.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_resilver.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_basic.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_basic.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_cancel.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_cancel.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_flag.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/scan/zpool_wait_scrub_flag.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_discard.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_discard.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_freeing.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_freeing.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_basic.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_basic.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_cancel.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_cancel.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_flag.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_initialize_flag.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_multiple.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_multiple.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_no_activity.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_no_activity.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_remove.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_remove.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_remove_cancel.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_remove_cancel.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_basic.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_basic.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_cancel.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_cancel.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_flag.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_trim_flag.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_usage.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_root/zpool_wait/zpool_wait_usage.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/misc.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/misc.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zdb_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zdb_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_allow_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_allow_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_channel_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_channel_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_clone_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_clone_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_create_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_create_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_destroy_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_destroy_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_get_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_get_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_inherit_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_inherit_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_mount_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_mount_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_promote_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_promote_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_receive_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_receive_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_rename_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_rename_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_rollback_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_rollback_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_send_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_send_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_set_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_set_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_share_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_share_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_snapshot_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_snapshot_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_unallow_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_unallow_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_unmount_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_unmount_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_unshare_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_unshare_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_upgrade_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zfs_upgrade_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_add_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_add_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_attach_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_attach_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_clear_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_clear_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_create_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_create_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_destroy_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_destroy_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_detach_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_detach_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_export_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_export_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_get_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_get_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_history_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_history_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_import_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_import_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_import_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_import_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_offline_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_offline_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_online_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_online_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_remove_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_remove_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_replace_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_replace_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_scrub_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_scrub_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_set_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_set_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_status_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_status_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_upgrade_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_upgrade_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_wait_privilege.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/misc/zpool_wait_privilege.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_004_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_004_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_008_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zfs_list/zfs_list_008_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_disable.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_disable.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_homedir.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_homedir.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_searchpath.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_-c_searchpath.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_iostat/zpool_iostat_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_list/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_list/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_list/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_list/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_list/zpool_list_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_list/zpool_list_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_list/zpool_list_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_list/zpool_list_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_status/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_status/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_status/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_status/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_disable.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_disable.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_homedir.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_homedir.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_searchpath.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_-c_searchpath.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cli_user/zpool_status/zpool_status_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/compression/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/compression/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/compression/compress.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/compression/compress.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/compression/compress_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/compression/compress_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/compression/compress_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/compression/compress_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/compression/compress_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/compression/compress_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/compression/compress_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/compression/compress_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/compression/compress_zstd_bswap.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/compression/compress_zstd_bswap.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/compression/l2arc_compressed_arc.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/compression/l2arc_compressed_arc.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/compression/l2arc_compressed_arc_disabled.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/compression/l2arc_compressed_arc_disabled.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/compression/l2arc_encrypted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/compression/l2arc_encrypted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/compression/l2arc_encrypted_no_compressed_arc.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/compression/l2arc_encrypted_no_compressed_arc.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/compression/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/compression/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/compression/testpool_zstd.tar.gz"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/compression/testpool_zstd.tar.gz"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cp_files/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cp_files/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cp_files/cp_files_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cp_files/cp_files_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/cp_files/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/cp_files/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/crtime/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/crtime/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/crtime/crtime_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/crtime/crtime_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/crtime/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/crtime/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/ctime/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/ctime/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/ctime/ctime_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/ctime/ctime_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/ctime/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/ctime/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/deadman/deadman.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/deadman/deadman.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/deadman/deadman_ratelimit.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/deadman/deadman_ratelimit.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/deadman/deadman_sync.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/deadman/deadman_sync.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/deadman/deadman_zio.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/deadman/deadman_zio.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/delegate.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/delegate.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/delegate_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/delegate_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_009_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_009_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_010_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_010_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_011_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_011_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_012_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_allow_012_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_008_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/delegate/zfs_unallow_008_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/devices/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/devices/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/devices/devices.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/devices/devices.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/devices/devices_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/devices/devices_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/devices/devices_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/devices/devices_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/devices/devices_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/devices/devices_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/devices/devices_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/devices/devices_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/devices/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/devices/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/exec/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/exec/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/exec/exec_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/exec/exec_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/exec/exec_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/exec/exec_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/exec/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/exec/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/fault/auto_offline_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/fault/auto_offline_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/fault/auto_spare_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/fault/auto_spare_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/fault/auto_spare_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/fault/auto_spare_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/fault/auto_spare_ashift.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/fault/auto_spare_ashift.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/fault/auto_spare_multiple.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/fault/auto_spare_multiple.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/fault/auto_spare_shared.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/fault/auto_spare_shared.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/fault/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/fault/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/fault/decompress_fault.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/fault/decompress_fault.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/fault/decrypt_fault.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/fault/decrypt_fault.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/fault/fault.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/fault/fault.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/fault/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/fault/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/fault/zpool_status_-s.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/fault/zpool_status_-s.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/features/async_destroy/async_destroy_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/features/async_destroy/async_destroy_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/features/async_destroy/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/features/async_destroy/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/features/async_destroy/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/features/async_destroy/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_004_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_004_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/large_dnode_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/features/large_dnode/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/grow_pool/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/grow_pool/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/grow_pool/grow_pool.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/grow_pool/grow_pool.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/grow_pool/grow_pool_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/grow_pool/grow_pool_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/grow_pool/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/grow_pool/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/grow_replicas/grow_replicas.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/grow_replicas/grow_replicas.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/grow_replicas/grow_replicas_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/grow_replicas/grow_replicas_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/history.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/history.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/history_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/history_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/history_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/history_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/history_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/history_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/history_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/history_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/history_005_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/history_005_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/history_006_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/history_006_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/history_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/history_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/history_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/history_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/history_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/history_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/history_010_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/history_010_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/history_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/history_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/i386.migratedpool.DAT.Z"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/i386.migratedpool.DAT.Z"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/i386.orig_history.txt"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/i386.orig_history.txt"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/sparc.migratedpool.DAT.Z"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/sparc.migratedpool.DAT.Z"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/sparc.orig_history.txt"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/sparc.orig_history.txt"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/history/zfs-pool-v4.dat.Z"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/history/zfs-pool-v4.dat.Z"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/holes/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/holes/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/holes/holes.shlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/holes/holes.shlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/holes/holes_sanity.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/holes/holes_sanity.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/holes/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/holes/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config001.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config001.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config002.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config002.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config003.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config003.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config004.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config004.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config005.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config005.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config006.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config006.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config007.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config007.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config008.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config008.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config009.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config009.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config010.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config010.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config011.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config011.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config012.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config012.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config013.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config013.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config014.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config014.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config015.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config015.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config016.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config016.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config017.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config017.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config018.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config018.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config019.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config019.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config020.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config020.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config021.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config021.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config022.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config022.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config023.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config023.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config024.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/config024.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/inherit.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/inherit.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state001.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state001.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state002.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state002.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state003.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state003.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state004.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state004.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state005.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state005.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state006.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state006.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state007.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state007.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state008.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state008.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state009.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state009.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state010.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state010.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state011.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state011.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state012.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state012.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state013.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state013.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state014.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state014.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state015.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state015.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state016.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state016.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state017.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state017.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state018.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state018.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state019.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state019.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state020.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state020.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state021.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state021.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state022.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state022.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state023.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state023.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state024.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inheritance/state024.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inuse/inuse_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/inuse/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/inuse/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/l2arc.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/l2arc.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/l2arc_arcstats_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/l2arc_arcstats_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/l2arc_common.shlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/l2arc_common.shlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/l2arc_l2miss_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/l2arc_l2miss_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/l2arc_mfuonly_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/l2arc_mfuonly_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/persist_l2arc_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/persist_l2arc_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/persist_l2arc_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/persist_l2arc_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/persist_l2arc_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/persist_l2arc_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/persist_l2arc_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/persist_l2arc_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/persist_l2arc_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/persist_l2arc_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/l2arc/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/large_files/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/large_files/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/large_files/large_files_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/large_files/large_files_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/large_files/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/large_files/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/largest_pool/largest_pool.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/largest_pool/largest_pool.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/largest_pool/largest_pool_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/largest_pool/largest_pool_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/libzfs/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/libzfs/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/libzfs/libzfs_input.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/libzfs/libzfs_input.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/libzfs/many_fds.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/libzfs/many_fds.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/libzfs/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/libzfs/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/limits/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/limits/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/limits/filesystem_count.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/limits/filesystem_count.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/limits/filesystem_limit.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/limits/filesystem_limit.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/limits/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/limits/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/limits/snapshot_count.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/limits/snapshot_count.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/limits/snapshot_limit.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/limits/snapshot_limit.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/link_count/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/link_count/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/link_count/link_count_001.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/link_count/link_count_001.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/link_count/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/link_count/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/log_spacemap/log_spacemap_import_logs.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/log_spacemap/log_spacemap_import_logs.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mdb/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mdb/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mdb/mdb_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mdb/mdb_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mdb/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mdb/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_010_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_010_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_011_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_011_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_012_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/migration_012_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/migration/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/migration/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmap/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmap/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmap/mmap.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmap/mmap.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmap/mmap_read_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmap/mmap_read_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmap/mmap_seek_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmap/mmap_seek_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmap/mmap_write_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmap/mmap_write_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmap/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmap/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_active_import.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_active_import.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_exported_import.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_exported_import.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_hostid.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_hostid.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_inactive_import.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_inactive_import.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_interval.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_interval.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_on_off.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_on_off.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_on_thread.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_on_thread.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_on_uberblocks.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_on_uberblocks.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_on_zdb.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_on_zdb.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_reset_interval.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_reset_interval.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_write_distribution.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_write_distribution.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_write_uberblocks.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/mmp_write_uberblocks.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/multihost_history.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/multihost_history.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mmp/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mmp/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mount/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mount/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mount/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mount/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mount/umount_001.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mount/umount_001.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mount/umount_unlinked_drain.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mount/umount_unlinked_drain.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mount/umountall_001.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mount/umountall_001.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mv_files/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mv_files/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mv_files/mv_files.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mv_files/mv_files.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mv_files/mv_files_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mv_files/mv_files_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mv_files/mv_files_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mv_files/mv_files_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mv_files/mv_files_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mv_files/mv_files_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mv_files/random_creation.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mv_files/random_creation.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/mv_files/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/mv_files/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/nestedfs/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/nestedfs/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/nestedfs/nestedfs_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/nestedfs/nestedfs_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/nestedfs/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/nestedfs/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/no_space/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/no_space/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/no_space/enospc.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/no_space/enospc.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/no_space/enospc_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/no_space/enospc_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/no_space/enospc_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/no_space/enospc_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/no_space/enospc_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/no_space/enospc_df.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/no_space/enospc_df.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/no_space/enospc_rm.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/no_space/enospc_rm.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/no_space/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/no_space/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite.shlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite.shlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_copies.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_copies.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_mtime.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_mtime.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_negative.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_negative.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_promoted_clone.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_promoted_clone.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_recsize.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_recsize.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_sync.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_sync.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_varying_compression.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_varying_compression.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_volume.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/nopwrite_volume.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/nopwrite/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/online_offline/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/online_offline/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/online_offline/online_offline.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/online_offline/online_offline.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/online_offline/online_offline_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/online_offline/online_offline_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/online_offline/online_offline_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/online_offline/online_offline_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/online_offline/online_offline_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/online_offline/online_offline_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/online_offline/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/online_offline/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/order_zfs_mount_a/order_zfs_mount_a.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/order_zfs_mount_a/order_zfs_mount_a.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_after_rewind.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_after_rewind.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_big_rewind.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_big_rewind.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_capacity.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_capacity.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_conf_change.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_conf_change.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard_busy.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard_busy.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard_many.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_discard_many.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_indirect.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_indirect.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_invalid.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_invalid.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_lun_expsz.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_lun_expsz.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_open.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_open.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_removal.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_removal.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_rewind.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_rewind.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_ro_rewind.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_ro_rewind.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_sm_scale.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_sm_scale.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_twice.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_twice.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_vdev_add.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_vdev_add.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_zdb.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_zdb.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_zhack_feat.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/checkpoint_zhack_feat.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/pool_checkpoint.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/pool_checkpoint.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_checkpoint/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_names/pool_names_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_names/pool_names_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/pool_names/pool_names_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/pool_names/pool_names_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/poolversion/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/poolversion/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/poolversion/poolversion_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/poolversion/poolversion_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/poolversion/poolversion_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/poolversion/poolversion_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/poolversion/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/poolversion/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/privilege/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/privilege/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/privilege/privilege_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/privilege/privilege_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/privilege/privilege_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/privilege/privilege_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/privilege/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/privilege/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectid_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectid_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectid_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectid_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectid_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectid_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_004_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_004_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectquota_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectspace_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectspace_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectspace_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectspace_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectspace_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectspace_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectspace_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projectspace_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projecttree_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projecttree_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projecttree_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projecttree_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projecttree_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/projecttree_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/projectquota/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/quota/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/quota/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota_006_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/quota/quota_006_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/quota/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/quota/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/raidz/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/raidz/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/raidz/raidz_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/raidz/raidz_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/raidz/raidz_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/raidz/raidz_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/raidz/raidz_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/raidz/raidz_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/raidz/raidz_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/raidz/raidz_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/raidz/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/raidz/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_compressed.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_compressed.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_contents.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_contents.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_deleted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_deleted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_disabled_feature.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_disabled_feature.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_embedded.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_embedded.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_holes.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_holes.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_incrementals.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_incrementals.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_largeblocks.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_largeblocks.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_many_clones.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_many_clones.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_mixed_recsize.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_mixed_recsize.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_mounts.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_mounts.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_negative.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_negative.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_origin.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_origin.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_panic.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_panic.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_props.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_props.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_resume.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_resume.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_size.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_size.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_volume.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/redacted_volume.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redacted_send/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid1.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid1.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid2.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid2.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid3.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid3.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid_damaged1.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid_damaged1.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid_damaged2.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid_damaged2.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid_spare1.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid_spare1.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid_spare2.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid_spare2.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid_spare3.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_draid_spare3.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_mirror.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_mirror.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_raidz.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_raidz.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_raidz1.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_raidz1.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_raidz2.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_raidz2.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_raidz3.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_raidz3.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_stripe.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/redundancy_stripe.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/redundancy/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refquota/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refquota/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_006_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_006_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_008_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refquota/refquota_008_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refquota/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refquota/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv_multi_raidz.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv_multi_raidz.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv_raidz.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/refreserv_raidz.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/refreserv/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_all_vdev.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_all_vdev.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_cancel.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_cancel.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_check_space.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_check_space.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_condense_export.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_condense_export.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_multiple_indirection.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_multiple_indirection.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_nopwrite.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_nopwrite.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_remap_deadlists.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_remap_deadlists.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_reservation.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_reservation.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_resume_export.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_resume_export.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_sanity.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_sanity.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_add.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_add.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_create_fs.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_create_fs.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_dedup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_dedup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_errors.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_errors.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_export.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_export.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_faulted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_faulted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_ganging.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_ganging.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_remove.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_remove.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_scrub.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_scrub.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_send.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_send.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_send_recv.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_send_recv.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_snapshot.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_snapshot.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_write.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_write.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_zdb.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/removal_with_zdb.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/remove_attach_mirror.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/remove_attach_mirror.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/remove_expanded.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/remove_expanded.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/remove_indirect.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/remove_indirect.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/remove_mirror.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/remove_mirror.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/remove_mirror_sanity.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/remove_mirror_sanity.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/removal/remove_raidz.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/removal/remove_raidz.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rename_dirs/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rename_dirs/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rename_dirs/rename_dirs_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rename_dirs/rename_dirs_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rename_dirs/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rename_dirs/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/attach_import.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/attach_import.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/attach_multiple.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/attach_multiple.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/attach_rebuild.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/attach_rebuild.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/attach_resilver.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/attach_resilver.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/detach.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/detach.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/rebuild_disabled_feature.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/rebuild_disabled_feature.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/rebuild_multiple.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/rebuild_multiple.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/rebuild_raidz.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/rebuild_raidz.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/replace_import.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/replace_import.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/replace_rebuild.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/replace_rebuild.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/replace_resilver.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/replace_resilver.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/replacement.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/replacement.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/resilver_restart_001.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/resilver_restart_001.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/resilver_restart_002.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/resilver_restart_002.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/scrub_cancel.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/scrub_cancel.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/replacement/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/replacement/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation.shlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation.shlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_010_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_010_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_011_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_011_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_012_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_012_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_013_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_013_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_014_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_014_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_015_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_015_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_016_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_016_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_017_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_017_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_018_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_018_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_019_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_019_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_020_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_020_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_021_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_021_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_022_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/reservation_022_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/reservation/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/reservation/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rootpool/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rootpool/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rootpool/rootpool_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rootpool/rootpool_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rootpool/rootpool_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rootpool/rootpool_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rootpool/rootpool_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rootpool/rootpool_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rootpool/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rootpool/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/dedup.zsend.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/dedup.zsend.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/dedup_encrypted_zvol.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/dedup_encrypted_zvol.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/dedup_encrypted_zvol.zsend.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/dedup_encrypted_zvol.zsend.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/fs.tar.gz"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/fs.tar.gz"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/recv_dedup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/recv_dedup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/recv_dedup_encrypted_zvol.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/recv_dedup_encrypted_zvol.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/recv_secpolicy.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/recv_secpolicy.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_010_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_010_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_011_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_011_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_012_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_012_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_013_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_013_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_014_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_014_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_016_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_016_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_019_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_019_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_020_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_020_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_021_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_021_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_022_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_022_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_024_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_024_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_025_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_025_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_026_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_026_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_027_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_027_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_028_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_028_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_029_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_029_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_030_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/rsend_030_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-L_toggle.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-L_toggle.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_embedded_blocks.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_embedded_blocks.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_incremental.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_incremental.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_lz4_disabled.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_lz4_disabled.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_mixed_compression.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_mixed_compression.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_props.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_props.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_recv_dedup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_recv_dedup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_recv_lz4_disabled.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_recv_lz4_disabled.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_resume.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_resume.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_stream_size_estimate.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_stream_size_estimate.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_verify_contents.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_verify_contents.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_verify_ratio.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_verify_ratio.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_volume.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_volume.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_zstreamdump.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-c_zstreamdump.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-cpL_varied_recsize.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-cpL_varied_recsize.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-wR_encrypted_zvol.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send-wR_encrypted_zvol.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_doall.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_doall.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_encrypted_hierarchy.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_encrypted_hierarchy.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_encrypted_incremental.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_encrypted_incremental.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_encrypted_props.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_encrypted_props.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_encrypted_truncated_files.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_encrypted_truncated_files.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_freeobjects.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_freeobjects.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_holds.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_holds.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_hole_birth.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_hole_birth.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_invalid.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_invalid.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_mixed_raw.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_mixed_raw.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_partial_dataset.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_partial_dataset.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_raw_ashift.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_raw_ashift.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_raw_large_blocks.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_raw_large_blocks.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_raw_spill_block.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_raw_spill_block.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_realloc_dnode_size.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_realloc_dnode_size.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_realloc_encrypted_files.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_realloc_encrypted_files.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_realloc_files.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_realloc_files.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_spill_block.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/send_spill_block.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/rsend/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/rsend/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/default.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/default.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/scrub_mirror_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/scrub_mirror/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_008_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_008_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_009_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_009_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_010_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_010_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_011_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_011_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_012_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_012_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_013_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_013_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_014_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_014_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_015_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_015_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_replay_fs_001.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_replay_fs_001.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_replay_fs_002.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_replay_fs_002.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_replay_volume.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/slog/slog_replay_volume.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/clone_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/clone_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/deadlist_lock.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/deadlist_lock.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/rollback_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/rollback_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/rollback_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/rollback_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/rollback_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/rollback_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_010_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_010_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_011_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_011_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_012_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_012_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_013_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_013_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_014_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_014_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_015_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_015_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_016_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_016_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_017_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_017_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_018_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapshot/snapshot_018_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapused/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapused/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapused/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapused/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapused/snapused.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapused/snapused.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapused/snapused_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapused/snapused_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapused/snapused_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapused/snapused_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapused/snapused_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapused/snapused_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapused/snapused_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapused/snapused_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/snapused/snapused_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/snapused/snapused_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/sparse/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/sparse/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/sparse/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/sparse/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/sparse/sparse.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/sparse/sparse.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/sparse/sparse_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/sparse/sparse_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/suid/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/suid/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/suid/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/suid/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/suid/suid_write_to_none.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/suid/suid_write_to_none.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/suid/suid_write_to_sgid.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/suid/suid_write_to_sgid.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/suid/suid_write_to_suid.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/suid/suid_write_to_suid.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/suid/suid_write_to_suid_sgid.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/suid/suid_write_to_suid_sgid.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/suid/suid_write_zil_replay.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/suid/suid_write_zil_replay.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/trim/autotrim_config.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/trim/autotrim_config.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/trim/autotrim_integrity.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/trim/autotrim_integrity.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/trim/autotrim_trim_integrity.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/trim/autotrim_trim_integrity.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/trim/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/trim/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/trim/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/trim/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/trim/trim.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/trim/trim.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/trim/trim.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/trim/trim.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/trim/trim_config.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/trim/trim_config.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/trim/trim_integrity.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/trim/trim_integrity.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/trim/trim_l2arc.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/trim/trim_l2arc.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/truncate/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/truncate/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/truncate/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/truncate/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/truncate/truncate.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/truncate/truncate.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/truncate/truncate_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/truncate/truncate_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/truncate/truncate_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/truncate/truncate_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/upgrade/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/upgrade/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/upgrade/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/upgrade/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/upgrade/upgrade_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/upgrade/upgrade_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/upgrade/upgrade_projectquota_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/upgrade/upgrade_projectquota_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/upgrade/upgrade_readonly_pool.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/upgrade/upgrade_readonly_pool.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/upgrade/upgrade_userobj_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/upgrade/upgrade_userobj_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/13709_reproducer.bz2"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/13709_reproducer.bz2"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/groupspace_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/groupspace_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/groupspace_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/groupspace_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/groupspace_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/groupspace_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_005_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_005_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_010_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_010_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_011_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_011_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_012_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_012_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_013_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_013_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userquota_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userspace_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userspace_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userspace_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userspace_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userspace_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userspace_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userspace_encrypted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userspace_encrypted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userspace_encrypted_13709.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userspace_encrypted_13709.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userspace_send_encrypted.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/userquota/userspace_send_encrypted.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_009_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/utils_test/utils_test_009_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_007_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_007_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/write_dirs/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/write_dirs/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/write_dirs/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/write_dirs/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/write_dirs/write_dirs.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/write_dirs/write_dirs.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/write_dirs/write_dirs_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/write_dirs/write_dirs_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/write_dirs/write_dirs_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/write_dirs/write_dirs_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_002_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_002_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_007_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_007_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_008_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_008_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_009_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_009_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_010_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_010_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_011_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_011_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_012_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_012_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_013_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_013_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/xattr/xattr_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_ENOSPC/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_ENOSPC/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_ENOSPC/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_ENOSPC/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_ENOSPC/zvol_ENOSPC_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_cli/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_cli/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_cli/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_cli/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_cli/zvol_cli_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_common.shlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_common.shlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_dump/zvol_dump_raidz.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_dump/zvol_dump_raidz.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_001_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_001_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_003_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_003_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_005_neg.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_005_neg.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_common.kshlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_hierarchy.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_hierarchy.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_trim.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_trim.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/cleanup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/cleanup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap.cfg"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap.cfg"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_001_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_001_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_002_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_002_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_003_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_004_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_004_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_005_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_005_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_006_pos.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zvol/zvol_swap/zvol_swap_006_pos.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/functional/zzztp/check_tp.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/zzztp/check_tp.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/longevity/slop_space_test.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/longevity/slop_space_test.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/fio/mkfiles.fio"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/fio/mkfiles.fio"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/fio/random_reads.fio"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/fio/random_reads.fio"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/fio/random_readwrite.fio"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/fio/random_readwrite.fio"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/fio/random_readwrite_fixed.fio"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/fio/random_readwrite_fixed.fio"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/fio/random_writes.fio"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/fio/random_writes.fio"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/fio/sequential_reads.fio"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/fio/sequential_reads.fio"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/fio/sequential_writes.fio"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/fio/sequential_writes.fio"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/perf.shlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/perf.shlib"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/regression/random_reads.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/regression/random_reads.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/regression/random_readwrite.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/regression/random_readwrite.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/regression/random_readwrite_fixed.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/regression/random_readwrite_fixed.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/regression/random_writes.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/regression/random_writes.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/regression/random_writes_zil.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/regression/random_writes_zil.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/regression/sequential_reads.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/regression/sequential_reads.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/regression/sequential_reads_arc_cached.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/regression/sequential_reads_arc_cached.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/regression/sequential_reads_arc_cached_clone.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/regression/sequential_reads_arc_cached_clone.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/regression/sequential_reads_dbuf_cached.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/regression/sequential_reads_dbuf_cached.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/regression/sequential_writes.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/regression/sequential_writes.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/regression/setup.ksh"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/regression/setup.ksh"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/scripts/io.d"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/scripts/io.d"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/scripts/offcpu-profile.d"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/scripts/offcpu-profile.d"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/scripts/prefetch_io.d"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/scripts/prefetch_io.d"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/scripts/profile.d"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/scripts/profile.d"
	chmod 0444 "$BASEDIR/opt/zfs-tests/tests/perf/scripts/zil.d"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/perf/scripts/zil.d"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/badsend"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/badsend"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/blake3_test"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/blake3_test"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/btree_test"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/btree_test"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/chg_usr_exec"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/chg_usr_exec"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/cp_files"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/cp_files"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/ctime"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/ctime"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/devname2devid"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/devname2devid"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/dir_rd_update"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/dir_rd_update"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/dos_ro"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/dos_ro"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/draid"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/draid"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/edonr_test"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/edonr_test"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/ereports"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/ereports"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/file_append"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/file_append"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/file_check"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/file_check"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/file_trunc"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/file_trunc"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/file_write"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/file_write"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/get_diff"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/get_diff"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/getholes"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/getholes"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/has_unmap"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/has_unmap"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/largest_file"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/largest_file"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/libzfs_input_check"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/libzfs_input_check"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/many_fds"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/many_fds"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/memory_balloon"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/memory_balloon"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/mkbusy"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/mkbusy"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/mkfiles"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/mkfiles"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/mkholes"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/mkholes"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/mktree"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/mktree"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/mmap_exec"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/mmap_exec"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/mmap_seek"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/mmap_seek"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/mmapwrite"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/mmapwrite"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/nvlist_to_lua"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/nvlist_to_lua"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/randfree_file"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/randfree_file"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/randwritecomp"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/randwritecomp"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/readmmap"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/readmmap"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/rename_dir"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/rename_dir"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/rm_lnkcnt_zero_file"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/rm_lnkcnt_zero_file"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/send_doall"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/send_doall"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/sha2_test"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/sha2_test"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/skein_test"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/skein_test"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/socket"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/socket"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/stride_dd"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/stride_dd"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/suid_write_to_file"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/suid_write_to_file"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/sysevent"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/sysevent"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/test_mount_a"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/test_mount_a"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/threadsappend"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/threadsappend"
	chmod 0555 "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/channel_common.kshlib"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/functional/channel_program/channel_common.kshlib"
	chmod 0555 "$BASEDIR/opt/zfs-tests/tests/stress/races/remove_file_while_remap"
	chown root:bin "$BASEDIR/opt/zfs-tests/tests/stress/races/remove_file_while_remap"
	chmod 0555 "$BASEDIR/usr/bin/raidz_test"
	chown root:bin "$BASEDIR/usr/bin/raidz_test"
	chmod 0555 "$BASEDIR/opt/zfs-tests/bin/zfstest"
	chown root:bin "$BASEDIR/opt/zfs-tests/bin/zfstest"
	chmod 0444 "$BASEDIR/opt/zfs-tests/include/common.sh"
	chown root:bin "$BASEDIR/opt/zfs-tests/include/common.sh"
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument '$1'" >&2
        exit 1
    ;;
esac



# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0

